\(\int (a+a \cos (c+d x))^{5/2} \sec ^4(c+d x) \, dx\) [119]
Optimal result
Integrand size = 23, antiderivative size = 144 \[
\int (a+a \cos (c+d x))^{5/2} \sec ^4(c+d x) \, dx=\frac {25 a^{5/2} \text {arctanh}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{8 d}+\frac {25 a^3 \tan (c+d x)}{8 d \sqrt {a+a \cos (c+d x)}}+\frac {13 a^3 \sec (c+d x) \tan (c+d x)}{12 d \sqrt {a+a \cos (c+d x)}}+\frac {a^2 \sqrt {a+a \cos (c+d x)} \sec ^2(c+d x) \tan (c+d x)}{3 d}
\]
[Out]
25/8*a^(5/2)*arctanh(sin(d*x+c)*a^(1/2)/(a+a*cos(d*x+c))^(1/2))/d+25/8*a^3*tan(d*x+c)/d/(a+a*cos(d*x+c))^(1/2)
+13/12*a^3*sec(d*x+c)*tan(d*x+c)/d/(a+a*cos(d*x+c))^(1/2)+1/3*a^2*sec(d*x+c)^2*(a+a*cos(d*x+c))^(1/2)*tan(d*x+
c)/d
Rubi [A] (verified)
Time = 0.42 (sec) , antiderivative size = 144, normalized size of antiderivative = 1.00, number of
steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.217, Rules used = {2841, 3059, 2851, 2852, 212}
\[
\int (a+a \cos (c+d x))^{5/2} \sec ^4(c+d x) \, dx=\frac {25 a^{5/2} \text {arctanh}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a \cos (c+d x)+a}}\right )}{8 d}+\frac {25 a^3 \tan (c+d x)}{8 d \sqrt {a \cos (c+d x)+a}}+\frac {13 a^3 \tan (c+d x) \sec (c+d x)}{12 d \sqrt {a \cos (c+d x)+a}}+\frac {a^2 \tan (c+d x) \sec ^2(c+d x) \sqrt {a \cos (c+d x)+a}}{3 d}
\]
[In]
Int[(a + a*Cos[c + d*x])^(5/2)*Sec[c + d*x]^4,x]
[Out]
(25*a^(5/2)*ArcTanh[(Sqrt[a]*Sin[c + d*x])/Sqrt[a + a*Cos[c + d*x]]])/(8*d) + (25*a^3*Tan[c + d*x])/(8*d*Sqrt[
a + a*Cos[c + d*x]]) + (13*a^3*Sec[c + d*x]*Tan[c + d*x])/(12*d*Sqrt[a + a*Cos[c + d*x]]) + (a^2*Sqrt[a + a*Co
s[c + d*x]]*Sec[c + d*x]^2*Tan[c + d*x])/(3*d)
Rule 212
Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
/; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])
Rule 2841
Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Sim
p[(-b^2)*(b*c - a*d)*Cos[e + f*x]*(a + b*Sin[e + f*x])^(m - 2)*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n + 1)*(b*c
+ a*d))), x] + Dist[b^2/(d*(n + 1)*(b*c + a*d)), Int[(a + b*Sin[e + f*x])^(m - 2)*(c + d*Sin[e + f*x])^(n + 1
)*Simp[a*c*(m - 2) - b*d*(m - 2*n - 4) - (b*c*(m - 1) - a*d*(m + 2*n + 1))*Sin[e + f*x], x], x], x] /; FreeQ[{
a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && GtQ[m, 1] && LtQ[n, -1
] && (IntegersQ[2*m, 2*n] || IntegerQ[m + 1/2] || (IntegerQ[m] && EqQ[c, 0]))
Rule 2851
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp
[(b*c - a*d)*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n + 1)/(f*(n + 1)*(c^2 - d^2)*Sqrt[a + b*Sin[e + f*x]])), x]
+ Dist[(2*n + 3)*((b*c - a*d)/(2*b*(n + 1)*(c^2 - d^2))), Int[Sqrt[a + b*Sin[e + f*x]]*(c + d*Sin[e + f*x])^(n
+ 1), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] &
& LtQ[n, -1] && NeQ[2*n + 3, 0] && IntegerQ[2*n]
Rule 2852
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]/((c_.) + (d_.)*sin[(e_.) + (f_.)*(x_)]), x_Symbol] :> Dist[-2*(
b/f), Subst[Int[1/(b*c + a*d - d*x^2), x], x, b*(Cos[e + f*x]/Sqrt[a + b*Sin[e + f*x]])], x] /; FreeQ[{a, b, c
, d, e, f}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0]
Rule 3059
Int[Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e_.
) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[(-b^2)*(B*c - A*d)*Cos[e + f*x]*((c + d*Sin[e + f*x])^(n + 1)/(d*f*(n
+ 1)*(b*c + a*d)*Sqrt[a + b*Sin[e + f*x]])), x] + Dist[(A*b*d*(2*n + 3) - B*(b*c - 2*a*d*(n + 1)))/(2*d*(n +
1)*(b*c + a*d)), Int[Sqrt[a + b*Sin[e + f*x]]*(c + d*Sin[e + f*x])^(n + 1), x], x] /; FreeQ[{a, b, c, d, e, f,
A, B}, x] && NeQ[b*c - a*d, 0] && EqQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[n, -1]
Rubi steps \begin{align*}
\text {integral}& = \frac {a^2 \sqrt {a+a \cos (c+d x)} \sec ^2(c+d x) \tan (c+d x)}{3 d}-\frac {1}{3} a \int \left (-\frac {13 a}{2}-\frac {9}{2} a \cos (c+d x)\right ) \sqrt {a+a \cos (c+d x)} \sec ^3(c+d x) \, dx \\ & = \frac {13 a^3 \sec (c+d x) \tan (c+d x)}{12 d \sqrt {a+a \cos (c+d x)}}+\frac {a^2 \sqrt {a+a \cos (c+d x)} \sec ^2(c+d x) \tan (c+d x)}{3 d}+\frac {1}{8} \left (25 a^2\right ) \int \sqrt {a+a \cos (c+d x)} \sec ^2(c+d x) \, dx \\ & = \frac {25 a^3 \tan (c+d x)}{8 d \sqrt {a+a \cos (c+d x)}}+\frac {13 a^3 \sec (c+d x) \tan (c+d x)}{12 d \sqrt {a+a \cos (c+d x)}}+\frac {a^2 \sqrt {a+a \cos (c+d x)} \sec ^2(c+d x) \tan (c+d x)}{3 d}+\frac {1}{16} \left (25 a^2\right ) \int \sqrt {a+a \cos (c+d x)} \sec (c+d x) \, dx \\ & = \frac {25 a^3 \tan (c+d x)}{8 d \sqrt {a+a \cos (c+d x)}}+\frac {13 a^3 \sec (c+d x) \tan (c+d x)}{12 d \sqrt {a+a \cos (c+d x)}}+\frac {a^2 \sqrt {a+a \cos (c+d x)} \sec ^2(c+d x) \tan (c+d x)}{3 d}-\frac {\left (25 a^3\right ) \text {Subst}\left (\int \frac {1}{a-x^2} \, dx,x,-\frac {a \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{8 d} \\ & = \frac {25 a^{5/2} \text {arctanh}\left (\frac {\sqrt {a} \sin (c+d x)}{\sqrt {a+a \cos (c+d x)}}\right )}{8 d}+\frac {25 a^3 \tan (c+d x)}{8 d \sqrt {a+a \cos (c+d x)}}+\frac {13 a^3 \sec (c+d x) \tan (c+d x)}{12 d \sqrt {a+a \cos (c+d x)}}+\frac {a^2 \sqrt {a+a \cos (c+d x)} \sec ^2(c+d x) \tan (c+d x)}{3 d} \\
\end{align*}
Mathematica [C] (verified)
Result contains complex when optimal does not.
Time = 6.47 (sec) , antiderivative size = 284, normalized size of antiderivative = 1.97
\[
\int (a+a \cos (c+d x))^{5/2} \sec ^4(c+d x) \, dx=\frac {a^2 \sqrt {a (1+\cos (c+d x))} \sec ^7\left (\frac {1}{2} (c+d x)\right ) \left (225 \sqrt {2} \cos (c+d x) \left (\log \left (i-\sqrt {2} e^{\frac {1}{2} i (c+d x)}-i e^{i (c+d x)}\right )-\log \left (i+\sqrt {2} e^{\frac {1}{2} i (c+d x)}-i e^{i (c+d x)}\right )\right )+75 \sqrt {2} \cos (3 (c+d x)) \left (\log \left (i-\sqrt {2} e^{\frac {1}{2} i (c+d x)}-i e^{i (c+d x)}\right )-\log \left (i+\sqrt {2} e^{\frac {1}{2} i (c+d x)}-i e^{i (c+d x)}\right )\right )-4 \left (114 \sin \left (\frac {1}{2} (c+d x)\right )-7 \sin \left (\frac {3}{2} (c+d x)\right )+75 \sin \left (\frac {5}{2} (c+d x)\right )\right )\right )}{384 d \left (-1+\tan ^2\left (\frac {1}{2} (c+d x)\right )\right )^3}
\]
[In]
Integrate[(a + a*Cos[c + d*x])^(5/2)*Sec[c + d*x]^4,x]
[Out]
(a^2*Sqrt[a*(1 + Cos[c + d*x])]*Sec[(c + d*x)/2]^7*(225*Sqrt[2]*Cos[c + d*x]*(Log[I - Sqrt[2]*E^((I/2)*(c + d*
x)) - I*E^(I*(c + d*x))] - Log[I + Sqrt[2]*E^((I/2)*(c + d*x)) - I*E^(I*(c + d*x))]) + 75*Sqrt[2]*Cos[3*(c + d
*x)]*(Log[I - Sqrt[2]*E^((I/2)*(c + d*x)) - I*E^(I*(c + d*x))] - Log[I + Sqrt[2]*E^((I/2)*(c + d*x)) - I*E^(I*
(c + d*x))]) - 4*(114*Sin[(c + d*x)/2] - 7*Sin[(3*(c + d*x))/2] + 75*Sin[(5*(c + d*x))/2])))/(384*d*(-1 + Tan[
(c + d*x)/2]^2)^3)
Maple [B] (verified)
Leaf count of result is larger than twice the leaf count of optimal. \(716\) vs. \(2(124)=248\).
Time = 96.06 (sec) , antiderivative size = 717, normalized size of antiderivative =
4.98
| | |
method | result | size |
| | |
default |
\(\frac {a^{\frac {3}{2}} \cos \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \left (-600 a \left (\ln \left (\frac {4 \sqrt {2}\, a \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+4 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+8 a}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right )+\ln \left (-\frac {4 \left (\sqrt {2}\, a \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-2 a \right )}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}}\right )\right ) \left (\sin ^{6}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+300 \left (2 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+3 \ln \left (\frac {4 \sqrt {2}\, a \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+4 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+8 a}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right ) a +3 \ln \left (-\frac {4 \left (\sqrt {2}\, a \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-2 a \right )}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}}\right ) a \right ) \left (\sin ^{4}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+\left (-736 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-450 \ln \left (-\frac {4 \left (\sqrt {2}\, a \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-2 a \right )}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}}\right ) a -450 \ln \left (\frac {4 \sqrt {2}\, a \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+4 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+8 a}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right ) a \right ) \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )+234 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+75 \ln \left (-\frac {4 \left (\sqrt {2}\, a \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}-2 a \right )}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}}\right ) a +75 \ln \left (\frac {4 \sqrt {2}\, a \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+4 \sqrt {2}\, \sqrt {a \left (\sin ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, \sqrt {a}+8 a}{2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}}\right ) a \right )}{6 \left (2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )-\sqrt {2}\right )^{3} \left (2 \cos \left (\frac {d x}{2}+\frac {c}{2}\right )+\sqrt {2}\right )^{3} \sin \left (\frac {d x}{2}+\frac {c}{2}\right ) \sqrt {a \left (\cos ^{2}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}\, d}\) |
\(717\) |
| | |
|
|
|
[In]
int((a+cos(d*x+c)*a)^(5/2)*sec(d*x+c)^4,x,method=_RETURNVERBOSE)
[Out]
1/6*a^(3/2)*cos(1/2*d*x+1/2*c)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*(-600*a*(ln(4/(2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^
(1/2)*a*cos(1/2*d*x+1/2*c)+2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+2*a))+ln(-4/(2*cos(1/2*d*x+1/2*c)-2^
(1/2))*(2^(1/2)*a*cos(1/2*d*x+1/2*c)-2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)-2*a)))*sin(1/2*d*x+1/2*c)^
6+300*(2*2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+3*ln(4/(2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^(1/2)*a*cos(1
/2*d*x+1/2*c)+2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+2*a))*a+3*ln(-4/(2*cos(1/2*d*x+1/2*c)-2^(1/2))*(2
^(1/2)*a*cos(1/2*d*x+1/2*c)-2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)-2*a))*a)*sin(1/2*d*x+1/2*c)^4+(-736
*2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)-450*ln(-4/(2*cos(1/2*d*x+1/2*c)-2^(1/2))*(2^(1/2)*a*cos(1/2*d*
x+1/2*c)-2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)-2*a))*a-450*ln(4/(2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^(1/
2)*a*cos(1/2*d*x+1/2*c)+2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+2*a))*a)*sin(1/2*d*x+1/2*c)^2+234*2^(1/
2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+75*ln(-4/(2*cos(1/2*d*x+1/2*c)-2^(1/2))*(2^(1/2)*a*cos(1/2*d*x+1/2*c
)-2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)-2*a))*a+75*ln(4/(2*cos(1/2*d*x+1/2*c)+2^(1/2))*(2^(1/2)*a*cos
(1/2*d*x+1/2*c)+2^(1/2)*(a*sin(1/2*d*x+1/2*c)^2)^(1/2)*a^(1/2)+2*a))*a)/(2*cos(1/2*d*x+1/2*c)-2^(1/2))^3/(2*co
s(1/2*d*x+1/2*c)+2^(1/2))^3/sin(1/2*d*x+1/2*c)/(a*cos(1/2*d*x+1/2*c)^2)^(1/2)/d
Fricas [A] (verification not implemented)
none
Time = 0.27 (sec) , antiderivative size = 183, normalized size of antiderivative = 1.27
\[
\int (a+a \cos (c+d x))^{5/2} \sec ^4(c+d x) \, dx=\frac {75 \, {\left (a^{2} \cos \left (d x + c\right )^{4} + a^{2} \cos \left (d x + c\right )^{3}\right )} \sqrt {a} \log \left (\frac {a \cos \left (d x + c\right )^{3} - 7 \, a \cos \left (d x + c\right )^{2} - 4 \, \sqrt {a \cos \left (d x + c\right ) + a} \sqrt {a} {\left (\cos \left (d x + c\right ) - 2\right )} \sin \left (d x + c\right ) + 8 \, a}{\cos \left (d x + c\right )^{3} + \cos \left (d x + c\right )^{2}}\right ) + 4 \, {\left (75 \, a^{2} \cos \left (d x + c\right )^{2} + 34 \, a^{2} \cos \left (d x + c\right ) + 8 \, a^{2}\right )} \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{96 \, {\left (d \cos \left (d x + c\right )^{4} + d \cos \left (d x + c\right )^{3}\right )}}
\]
[In]
integrate((a+a*cos(d*x+c))^(5/2)*sec(d*x+c)^4,x, algorithm="fricas")
[Out]
1/96*(75*(a^2*cos(d*x + c)^4 + a^2*cos(d*x + c)^3)*sqrt(a)*log((a*cos(d*x + c)^3 - 7*a*cos(d*x + c)^2 - 4*sqrt
(a*cos(d*x + c) + a)*sqrt(a)*(cos(d*x + c) - 2)*sin(d*x + c) + 8*a)/(cos(d*x + c)^3 + cos(d*x + c)^2)) + 4*(75
*a^2*cos(d*x + c)^2 + 34*a^2*cos(d*x + c) + 8*a^2)*sqrt(a*cos(d*x + c) + a)*sin(d*x + c))/(d*cos(d*x + c)^4 +
d*cos(d*x + c)^3)
Sympy [F(-1)]
Timed out. \[
\int (a+a \cos (c+d x))^{5/2} \sec ^4(c+d x) \, dx=\text {Timed out}
\]
[In]
integrate((a+a*cos(d*x+c))**(5/2)*sec(d*x+c)**4,x)
[Out]
Timed out
Maxima [B] (verification not implemented)
Leaf count of result is larger than twice the leaf count of optimal. 6703 vs. \(2 (124) = 248\).
Time = 44.30 (sec) , antiderivative size = 6703, normalized size of antiderivative = 46.55
\[
\int (a+a \cos (c+d x))^{5/2} \sec ^4(c+d x) \, dx=\text {Too large to display}
\]
[In]
integrate((a+a*cos(d*x+c))^(5/2)*sec(d*x+c)^4,x, algorithm="maxima")
[Out]
-1/96*(4176*a^2*cos(7/2*d*x + 7/2*c)*sin(2*d*x + 2*c) + 2430*a^2*cos(5/2*d*x + 5/2*c)*sin(2*d*x + 2*c) + 678*a
^2*cos(3/2*d*x + 3/2*c)*sin(2*d*x + 2*c) - 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c
)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 75*sqrt(2)*a^2*log(2*cos(1/2*d*x
+ 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) -
75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*s
qrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*
sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - (75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c
)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqr
t(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*
sin(1/2*d*x + 1/2*c) + 2) + 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)
*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*
sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 10*a^2*sin(9/2
*d*x + 9/2*c) + 30*a^2*sin(7/2*d*x + 7/2*c) + 78*a^2*sin(5/2*d*x + 5/2*c) - 170*a^2*sin(3/2*d*x + 3/2*c) - 600
*a^2*sin(1/2*d*x + 1/2*c))*cos(6*d*x + 6*c)^2 - 9*(75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x
+ 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqrt(2)*a^2*log(2*cos(
1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c
) + 2) + 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*
c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c
)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 30*a^2*sin(7/2*d*x + 7/2*c) + 78*
a^2*sin(5/2*d*x + 5/2*c) - 170*a^2*sin(3/2*d*x + 3/2*c) - 600*a^2*sin(1/2*d*x + 1/2*c))*cos(4*d*x + 4*c)^2 - 4
5*(15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2
*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 +
2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*
c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sq
rt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)
*sin(1/2*d*x + 1/2*c) + 2) - 34*a^2*sin(3/2*d*x + 3/2*c) - 120*a^2*sin(1/2*d*x + 1/2*c))*cos(2*d*x + 2*c)^2 -
(75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*s
qrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*
sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)
^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqrt
(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*s
in(1/2*d*x + 1/2*c) + 2) - 10*a^2*sin(9/2*d*x + 9/2*c) + 30*a^2*sin(7/2*d*x + 7/2*c) + 78*a^2*sin(5/2*d*x + 5/
2*c) - 170*a^2*sin(3/2*d*x + 3/2*c) - 600*a^2*sin(1/2*d*x + 1/2*c))*sin(6*d*x + 6*c)^2 - 9*(75*sqrt(2)*a^2*log
(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x
+ 1/2*c) + 2) - 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x
+ 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x
+ 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqrt(2)*a^2*log(2*cos(1
/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c)
+ 2) + 30*a^2*sin(7/2*d*x + 7/2*c) + 78*a^2*sin(5/2*d*x + 5/2*c) - 170*a^2*sin(3/2*d*x + 3/2*c) - 600*a^2*sin
(1/2*d*x + 1/2*c))*sin(4*d*x + 4*c)^2 - 45*(15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*
c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*a^2*log(2*cos(1/2*d*x
+ 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2)
+ 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*
sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2
*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 34*a^2*sin(3/2*d*x + 3/2*c) - 120*a^2*si
n(1/2*d*x + 1/2*c))*sin(2*d*x + 2*c)^2 - 56*a^2*sin(3/2*d*x + 3/2*c) + 600*a^2*sin(1/2*d*x + 1/2*c) + 10*(a^2*
sin(6*d*x + 6*c) + 3*a^2*sin(4*d*x + 4*c) + 3*a^2*sin(2*d*x + 2*c))*cos(21/2*d*x + 21/2*c) - 30*(a^2*sin(6*d*x
+ 6*c) + 3*a^2*sin(4*d*x + 4*c) + 3*a^2*sin(2*d*x + 2*c))*cos(19/2*d*x + 19/2*c) - 48*(a^2*sin(6*d*x + 6*c) +
3*a^2*sin(4*d*x + 4*c) + 3*a^2*sin(2*d*x + 2*c))*cos(17/2*d*x + 17/2*c) + 80*(a^2*sin(6*d*x + 6*c) + 3*a^2*si
n(4*d*x + 4*c) + 3*a^2*sin(2*d*x + 2*c))*cos(15/2*d*x + 15/2*c) + 396*(a^2*sin(6*d*x + 6*c) + 3*a^2*sin(4*d*x
+ 4*c) + 3*a^2*sin(2*d*x + 2*c))*cos(13/2*d*x + 13/2*c) - 6*(25*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*s
in(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 25*sqrt(2)*a^2*
log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d
*x + 1/2*c) + 2) + 25*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*
d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 25*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d
*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 170*a^2*sin(11/2*d*x +
11/2*c) - 19*a^2*sin(3/2*d*x + 3/2*c) - 200*a^2*sin(1/2*d*x + 1/2*c) + (75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2
*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*s
qrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2
)*sin(1/2*d*x + 1/2*c) + 2) + 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(
2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 +
2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 30*a^2*sin(7
/2*d*x + 7/2*c) + 78*a^2*sin(5/2*d*x + 5/2*c) - 170*a^2*sin(3/2*d*x + 3/2*c) - 600*a^2*sin(1/2*d*x + 1/2*c))*c
os(4*d*x + 4*c) + 5*(15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/
2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2
*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 15*sqrt(2)*a^2*log(2*
cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1
/2*c) + 2) - 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x +
1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 34*a^2*sin(3/2*d*x + 3/2*c) - 120*a^2*sin(1/2*d*x + 1/2*c))*cos
(2*d*x + 2*c) - 10*(a^2*cos(4*d*x + 4*c) + a^2*cos(2*d*x + 2*c) - 25*a^2)*sin(9/2*d*x + 9/2*c) + 2*(15*a^2*cos
(2*d*x + 2*c) + 121*a^2)*sin(7/2*d*x + 7/2*c) + (78*a^2*cos(2*d*x + 2*c) + 161*a^2)*sin(5/2*d*x + 5/2*c))*cos(
6*d*x + 6*c) + 3060*(a^2*sin(4*d*x + 4*c) + a^2*sin(2*d*x + 2*c))*cos(11/2*d*x + 11/2*c) + 4560*(a^2*sin(4*d*x
+ 4*c) + a^2*sin(2*d*x + 2*c))*cos(9/2*d*x + 9/2*c) - 18*(25*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin
(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 25*sqrt(2)*a^2*lo
g(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x
+ 1/2*c) + 2) + 25*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*
x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 25*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x
+ 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 19*a^2*sin(3/2*d*x + 3/2*
c) - 200*a^2*sin(1/2*d*x + 1/2*c) + 5*(15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2
+ 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/
2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 15*
sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(
2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt
(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 34*a^2*sin(3/2*d*x + 3/2*c) - 120*a^2*sin(1/2
*d*x + 1/2*c))*cos(2*d*x + 2*c) + 2*(15*a^2*cos(2*d*x + 2*c) + 121*a^2)*sin(7/2*d*x + 7/2*c) + (78*a^2*cos(2*d
*x + 2*c) + 161*a^2)*sin(5/2*d*x + 5/2*c))*cos(4*d*x + 4*c) - 18*(25*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2
+ 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 25*sqrt(2)
*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(
1/2*d*x + 1/2*c) + 2) + 25*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos
(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 25*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(
1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 19*a^2*sin(3/2*d*x
+ 3/2*c) - 200*a^2*sin(1/2*d*x + 1/2*c))*cos(2*d*x + 2*c) - 10*(a^2*cos(6*d*x + 6*c) + 3*a^2*cos(4*d*x + 4*c)
+ 3*a^2*cos(2*d*x + 2*c) + a^2)*sin(21/2*d*x + 21/2*c) + 30*(a^2*cos(6*d*x + 6*c) + 3*a^2*cos(4*d*x + 4*c) +
3*a^2*cos(2*d*x + 2*c) + a^2)*sin(19/2*d*x + 19/2*c) + 48*(a^2*cos(6*d*x + 6*c) + 3*a^2*cos(4*d*x + 4*c) + 3*a
^2*cos(2*d*x + 2*c) + a^2)*sin(17/2*d*x + 17/2*c) - 80*(a^2*cos(6*d*x + 6*c) + 3*a^2*cos(4*d*x + 4*c) + 3*a^2*
cos(2*d*x + 2*c) + a^2)*sin(15/2*d*x + 15/2*c) - 396*(a^2*cos(6*d*x + 6*c) + 3*a^2*cos(4*d*x + 4*c) + 3*a^2*co
s(2*d*x + 2*c) + a^2)*sin(13/2*d*x + 13/2*c) - 2*(90*a^2*sin(7/2*d*x + 7/2*c)*sin(2*d*x + 2*c) + 234*a^2*sin(5
/2*d*x + 5/2*c)*sin(2*d*x + 2*c) - 510*a^2*cos(11/2*d*x + 11/2*c) - 760*a^2*cos(9/2*d*x + 9/2*c) - 696*a^2*cos
(7/2*d*x + 7/2*c) - 405*a^2*cos(5/2*d*x + 5/2*c) - 113*a^2*cos(3/2*d*x + 3/2*c) - 30*(a^2*sin(4*d*x + 4*c) + a
^2*sin(2*d*x + 2*c))*sin(9/2*d*x + 9/2*c) + 3*(75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1
/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqrt(2)*a^2*log(2*cos(1/2*
d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) +
2) + 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) +
2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 75*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2
- 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 30*a^2*sin(7/2*d*x + 7/2*c) + 78*a^2*
sin(5/2*d*x + 5/2*c) - 170*a^2*sin(3/2*d*x + 3/2*c) - 600*a^2*sin(1/2*d*x + 1/2*c))*sin(4*d*x + 4*c) + 15*(15*
sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(
2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt
(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 +
2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*
a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1
/2*d*x + 1/2*c) + 2) - 34*a^2*sin(3/2*d*x + 3/2*c) - 120*a^2*sin(1/2*d*x + 1/2*c))*sin(2*d*x + 2*c))*sin(6*d*x
+ 6*c) - 1020*(3*a^2*cos(4*d*x + 4*c) + 3*a^2*cos(2*d*x + 2*c) + a^2)*sin(11/2*d*x + 11/2*c) + 10*(9*a^2*cos(
4*d*x + 4*c)^2 + 9*a^2*cos(2*d*x + 2*c)^2 + 9*a^2*sin(4*d*x + 4*c)^2 + 18*a^2*sin(4*d*x + 4*c)*sin(2*d*x + 2*c
) + 9*a^2*sin(2*d*x + 2*c)^2 - 450*a^2*cos(2*d*x + 2*c) - 151*a^2 + 18*(a^2*cos(2*d*x + 2*c) - 25*a^2)*cos(4*d
*x + 4*c))*sin(9/2*d*x + 9/2*c) - 6*(90*a^2*sin(7/2*d*x + 7/2*c)*sin(2*d*x + 2*c) + 234*a^2*sin(5/2*d*x + 5/2*
c)*sin(2*d*x + 2*c) - 696*a^2*cos(7/2*d*x + 7/2*c) - 405*a^2*cos(5/2*d*x + 5/2*c) - 113*a^2*cos(3/2*d*x + 3/2*
c) + 15*(15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*
c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c
)^2 + 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) + 15*sqrt(2)*a^2*log(2*cos(1/2*d*x
+ 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) + 2*sqrt(2)*sin(1/2*d*x + 1/2*c) + 2) -
15*sqrt(2)*a^2*log(2*cos(1/2*d*x + 1/2*c)^2 + 2*sin(1/2*d*x + 1/2*c)^2 - 2*sqrt(2)*cos(1/2*d*x + 1/2*c) - 2*s
qrt(2)*sin(1/2*d*x + 1/2*c) + 2) - 34*a^2*sin(3/2*d*x + 3/2*c) - 120*a^2*sin(1/2*d*x + 1/2*c))*sin(2*d*x + 2*c
))*sin(4*d*x + 4*c) - 18*(15*a^2*cos(2*d*x + 2*c)^2 + 15*a^2*sin(2*d*x + 2*c)^2 + 242*a^2*cos(2*d*x + 2*c) + 7
9*a^2)*sin(7/2*d*x + 7/2*c) - 6*(117*a^2*cos(2*d*x + 2*c)^2 + 117*a^2*sin(2*d*x + 2*c)^2 + 483*a^2*cos(2*d*x +
2*c) + 148*a^2)*sin(5/2*d*x + 5/2*c))*sqrt(a)/((sqrt(2)*cos(6*d*x + 6*c)^2 + 9*sqrt(2)*cos(4*d*x + 4*c)^2 + 9
*sqrt(2)*cos(2*d*x + 2*c)^2 + sqrt(2)*sin(6*d*x + 6*c)^2 + 9*sqrt(2)*sin(4*d*x + 4*c)^2 + 18*sqrt(2)*sin(4*d*x
+ 4*c)*sin(2*d*x + 2*c) + 9*sqrt(2)*sin(2*d*x + 2*c)^2 + 2*(3*sqrt(2)*cos(4*d*x + 4*c) + 3*sqrt(2)*cos(2*d*x
+ 2*c) + sqrt(2))*cos(6*d*x + 6*c) + 6*(3*sqrt(2)*cos(2*d*x + 2*c) + sqrt(2))*cos(4*d*x + 4*c) + 6*(sqrt(2)*si
n(4*d*x + 4*c) + sqrt(2)*sin(2*d*x + 2*c))*sin(6*d*x + 6*c) + 6*sqrt(2)*cos(2*d*x + 2*c) + sqrt(2))*d)
Giac [A] (verification not implemented)
none
Time = 0.42 (sec) , antiderivative size = 166, normalized size of antiderivative = 1.15
\[
\int (a+a \cos (c+d x))^{5/2} \sec ^4(c+d x) \, dx=-\frac {\sqrt {2} {\left (75 \, \sqrt {2} a^{2} \log \left (\frac {{\left | -2 \, \sqrt {2} + 4 \, \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) \right |}}{{\left | 2 \, \sqrt {2} + 4 \, \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) \right |}}\right ) \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) + \frac {4 \, {\left (300 \, a^{2} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} - 368 \, a^{2} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{3} + 117 \, a^{2} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}}{{\left (2 \, \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 1\right )}^{3}}\right )} \sqrt {a}}{96 \, d}
\]
[In]
integrate((a+a*cos(d*x+c))^(5/2)*sec(d*x+c)^4,x, algorithm="giac")
[Out]
-1/96*sqrt(2)*(75*sqrt(2)*a^2*log(abs(-2*sqrt(2) + 4*sin(1/2*d*x + 1/2*c))/abs(2*sqrt(2) + 4*sin(1/2*d*x + 1/2
*c)))*sgn(cos(1/2*d*x + 1/2*c)) + 4*(300*a^2*sgn(cos(1/2*d*x + 1/2*c))*sin(1/2*d*x + 1/2*c)^5 - 368*a^2*sgn(co
s(1/2*d*x + 1/2*c))*sin(1/2*d*x + 1/2*c)^3 + 117*a^2*sgn(cos(1/2*d*x + 1/2*c))*sin(1/2*d*x + 1/2*c))/(2*sin(1/
2*d*x + 1/2*c)^2 - 1)^3)*sqrt(a)/d
Mupad [F(-1)]
Timed out. \[
\int (a+a \cos (c+d x))^{5/2} \sec ^4(c+d x) \, dx=\int \frac {{\left (a+a\,\cos \left (c+d\,x\right )\right )}^{5/2}}{{\cos \left (c+d\,x\right )}^4} \,d x
\]
[In]
int((a + a*cos(c + d*x))^(5/2)/cos(c + d*x)^4,x)
[Out]
int((a + a*cos(c + d*x))^(5/2)/cos(c + d*x)^4, x)